package com.cykj.v_m_sprintboot.mapper;

import com.cykj.v_m_sprintboot.bean.GoodsInfo;
import com.cykj.v_m_sprintboot.bean.TbReturn;
import com.cykj.v_m_sprintboot.bean.TbWarehouseListInf;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TbWarehouseListInfMapper {
    List<String> goodsName(TbWarehouseListInf tbWarehouseListInf);
    List<Integer>goodsNum(TbWarehouseListInf tbWarehouseListInf);
    List<GoodsInfo> goodsInfo(TbWarehouseListInf tbWarehouseListInf);
    List<GoodsInfo> getAllGoods(TbWarehouseListInf tbWarehouseListInf);
    boolean addReturn(TbReturn tbReturn);
    List<TbReturn> getReturnList(TbReturn tbReturn, RowBounds row);
    int countReturnList(TbReturn tbReturn);
    boolean delReturnList(TbReturn tbReturn);
    boolean updateTbWarehouseListInfNum(TbReturn tbReturn);
    double countTbWarehouseListInf(TbReturn tbReturn);
}
